package com.ashin.common;


public class RabbitMQConfig {

    // 队列名称定义
    public static final String QUEUE_TEST = "queue.test";

    // 交换机名称定义 命名规范 exchange_exchange_type_xxx
    public static final String EXCHANGE_DIRECT_TEST = "exchange.direct.test";

    public static final String EXCHANGE_FANOUT_TEST = "exchange.fanout.test";

    public static final String EXCHANGE_TOPIC_TEST = "exchange.topic.test";

    // 绑定key名称定义 可以pattern串，比如#.good.# 这个一般消费段绑定交换机使用
    public static final String BINDING_KEY_ORDER = "order";

    public static final String BINDING_KEY_GOOD = "#.good";


    // 路由key 即发送端使用 命名规范routing_key_xx
    public static final String ROUTING_KEY_ORDER = "order";

    public static final String ROUTING_KEY_GOOD = "good";


}

